Kubio\GoogleFontsLocalLoader S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 368
Lines of code 258
Logical lines of code 132
Comment lines 4
Methods 23
Properties 10

Methods 23

Method Rating Maintainability Complexity Lines of code
getSecuritySalt()
A
53 8 26
resolveFontsCSS()
S
52 5 24
resolveFontFileContent()
S
57 4 17
getCSS()
S
54 3 24
resolveFont()
S
54 3 19
addQueryToCache()
S
58 3 18
replacePlaceholdersWithLocalCSS()
S
53 2 25
enqueueFonts()
S
56 2 21
cacheQueryCSS()
S
60 2 15
__construct()
S
64 2 9
getInstance()
S
72 2 6
getCachedDataByKey()
S
68 2 7
replaceGoogleURLS()
S
62 1 12
verifySecurityKey()
S
79 1 3
addAdminAjaxActions()
S
72 1 5
enqueuLocalGoogleFonts()
S
80 1 3
createSecurityKey()
S
79 1 3
getCachedQueryData()
S
80 1 3
localFontFileExists()
S
80 1 3
saveFontContentToLocalFile()
S
75 1 4
getLocalFontFileURL()
S
75 1 4
getLocalFontFilePath()
S
75 1 4
registerFontResolver()
S
80 1 3